/*
 * CFood.h
 *
 *  Created on: 31.10.2012
 *      Author: christina
 */

#ifndef CFOOD_H_
#define CFOOD_H_

#include "CItem.h"
#include <string>

using namespace std;

class CFood: public CItem {

private:
	int M;
	int N;
	int food;

public:
	CFood(int defFood = 200);

	virtual ~CFood();

	int act();

	void print();

	/*
	 * Public interface to get food from the food item
	 */

	int giveMeFood(int cntFood);

	int getM() const {
		return M;
	}

	void setM(int m) {
		M = m;
	}

	int getN() const {
		return N;
	}

	void setN(int n) {
		N = n;
	}

	string getClassType() const {
		return classType;
	}


};

#endif /* CFOOD_H_ */
